package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound")//映射保存声音文件表的实体类
public class Sound implements java.io.Serializable{


    private static final long serialVersionUID = 6378739480511181286L;

    private ObjectId id; //主键id

    private Long userId;

    private String soundUrl; //声音文件

    private Long created; //创建时间
}
